package cn.com.smart.module.xman.etlMailRecv.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.com.smart.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 接收邮件表 etl_mail_recv
 * 
 * @author xman
 * @date 2019-06-18
 */
@Data
@TableName("etl_mail_recv")
public class EtlMailRecv /* extends BaseEntity */
{
	private static final long serialVersionUID = 1L;
	
	/** 邮件ID */

	private String id;
	/** 邮件标题 */

	private String subject;
	/** 邮件内容 */

	private String content;
	/** 附件 */

	private String attachment;
	/** 发件人 */

	private String from;
	/** 收件人 */

	private String to;
	/** 抄送人 */

	private String cc;
	/** 密送人 */

	private String bcc;
	/** 发送时间 */

	private Integer sentDate;
	/** 0:未读,1:已读 */

	private Integer isRead;
	/** 0:无需回复,1:需要回复 */

	private Integer isReply;

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subject", getSubject())
            .append("content", getContent())
            .append("attachment", getAttachment())
            .append("from", getFrom())
            .append("to", getTo())
            .append("cc", getCc())
            .append("bcc", getBcc())
            .append("sentDate", getSentDate())
            .append("isRead", getIsRead())
            .append("isReply", getIsReply())
            .toString();
    }
}
